#!/bin/sh -e

clsed '/DECLS/d' utf8.h

mk() {
    make \
        prefix=/usr \
        LDFLAGS="$LDFLAGS -static" \
        MANDIR=/usr/share/man \
        "$@"
}

mk
mk DESTDIR="$1" install
